<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta charset="UTF-8" />
        <title>05_创建数组-方法2</title>
    </head>
    <body>
        <script>
            var arr = new Array('海蓝之谜','skii','娇韵诗','大宝sod密','万紫千红');
            console.log(arr);


            var arr1 = new Array(1,2,3,4);
            console.log(arr1);

            // 如果数组中只写了一个数字 那么代表的是5个长度
            var arr2 = new Array(5);
            console.log(arr2);


        </script>
    </body>
</html>